package three.one;

public class Test {
	public static void main(String args[]){
	Feeder  feeder2=new Feeder("liu");
	System.out.println(feeder2.toString());
	Lion l=new Lion();
	feeder2.feedLion(l) ;
	Pigeon p=new Pigeon();
	feeder2.feedPigeon(p);
	Monkey m=new Monkey();
	feeder2.feedMonkey(m);
	Lion lion1=new Lion();
	lion1.eat();
	Monkey[] mon1={new Monkey(),new Monkey(),new Monkey(),new Monkey(),new Monkey()};
	for(int i=0;i<5;i++){
	mon1[i].eat();
	}
	Pigeon[] pi1={new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon(),new Pigeon()};
	for(int j=0;j<10;j++){
	pi1[j].eat();
	}
	
 }
}


